package com.wiscamp.ninechapters.ddd;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.Collection;

@Setter
@Getter
public class PagedQuery implements DataTransferObject {
    private int page;

    private int pageSize;

    private String sortProperty;

    private SortDirection sortDirection = SortDirection.ASC;

    private Collection<QueryProperty> queryProperties = new ArrayList<>();
}
